<?php

use Illuminate\Database\Seeder;
use \Illuminate\Support\Facades\DB;

class BlogsTableSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     *
     * 创建数据填充：php artisan make:seeder 表名Seeder
     *
     * 单个填充
     *
     */
    public function run()
    {
//        $array = [
//            'title'     => 'aa1',
//            'author'    => 'bb1',
//            'content' => 'adasd',
//        ];
//        DB::table('blogs')->insert($array);


    }
}
